﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Yunwei.DAL;
using Yunwei.Domain.Models;
using Yunwei.IBizLogic;

namespace Yunwei.BizLogic
{
    public class VendorService : BaseService<Vendor>, IVendorService
    {
        public VendorService() : base(RepositoryFactory.VendorRepository) { }
        public Vendor FindByUserId(int user_Id)
        {
            return CurrentRepository.Find(v => v.User_Id == user_Id);
        }
    }
}
